home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / src-aux / MAKEFILE.DOS < prev    next >
Encoding:
Text File  |  1997-01-07  |  1.4 KB  |  67 lines

  1. # Makefile for aux toolkit for MS-DOS
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  2.1
  5. # Copyright (C) 1995-1996  Brian Paul
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Id:$
  23.  
  24. # $Log:$
  25.  
  26. ##### MACROS #####
  27.  
  28. VPATH = RCS
  29.  
  30. INCDIR = ..\include
  31. LIBDIR = ..\lib
  32.  
  33. OBJECTS = glaux.obj font.obj image.obj shapes.obj teapot.obj vect3d.obj xxform.obj
  34.  
  35.  
  36.  
  37. ##### RULES #####
  38.  
  39. .c.obj:
  40.     $(CC) /C /DDOSVGA /I$(INCDIR) $(CFLAGS) $<
  41.  
  42.  
  43.  
  44. ##### TARGETS #####
  45.  
  46. AUX_LIB = dosaux.lib
  47.  
  48. default: $(AUX_LIB)
  49.  
  50. clean:
  51.     -del *.obj *~
  52.  
  53. MAKELIB = wlib /b /c /n /q
  54.  
  55.  
  56. targets: $(AUX_LIB)
  57.  
  58. # Make the library
  59. $(AUX_LIB): $(OBJECTS)
  60.     $(MAKELIB) $(AUX_LIB) $(OBJECTS)
  61. #    $(RANLIB) $(AUX_LIB)
  62. #    mv $(AUX_LIB)* $(LIBDIR)
  63.  
  64. #include ../Make-config
  65.  
  66.  
  67.